package com.esms.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;


/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee  implements java.io.Serializable {


    // Fields    

     private Integer employeeId;
     private Enterprise enterprise;
     private String name;
     private Integer personid;
     private String status;
     private Double progress;
     private String sex;
     private Date birthday;
     private String region;
     private String identifycardId;
     private String married;
     private String address;
     private String email;
     private String phone;
     private String mobile;
     private String zipcode;
     private Set services = new HashSet(0);


    // Constructors

    /** default constructor */
    public Employee() {
    }

	/** minimal constructor */
    public Employee(Enterprise enterprise) {
        this.enterprise = enterprise;
    }
    
    /** full constructor */
    public Employee(Enterprise enterprise, String name, Integer personid, String status, Double progress, String sex, Date birthday, String region, String identifycardId, String married, String address, String email, String phone, String mobile, String zipcode, Set services) {
        this.enterprise = enterprise;
        this.name = name;
        this.personid = personid;
        this.status = status;
        this.progress = progress;
        this.sex = sex;
        this.birthday = birthday;
        this.region = region;
        this.identifycardId = identifycardId;
        this.married = married;
        this.address = address;
        this.email = email;
        this.phone = phone;
        this.mobile = mobile;
        this.zipcode = zipcode;
        this.services = services;
    }

   
    // Property accessors

    public Integer getEmployeeId() {
        return this.employeeId;
    }
    
    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Enterprise getEnterprise() {
        return this.enterprise;
    }
    
    public void setEnterprise(Enterprise enterprise) {
        this.enterprise = enterprise;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Integer getPersonid() {
        return this.personid;
    }
    
    public void setPersonid(Integer personid) {
        this.personid = personid;
    }

    public String getStatus() {
        return this.status;
    }
    
    public void setStatus(String status) {
        this.status = status;
    }

    public Double getProgress() {
        return this.progress;
    }
    
    public void setProgress(Double progress) {
        this.progress = progress;
    }

    public String getSex() {
        return this.sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return this.birthday;
    }
    
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getRegion() {
        return this.region;
    }
    
    public void setRegion(String region) {
        this.region = region;
    }

    public String getIdentifycardId() {
        return this.identifycardId;
    }
    
    public void setIdentifycardId(String identifycardId) {
        this.identifycardId = identifycardId;
    }

    public String getMarried() {
        return this.married;
    }
    
    public void setMarried(String married) {
        this.married = married;
    }

    public String getAddress() {
        return this.address;
    }
    
    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return this.email;
    }
    
    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getMobile() {
        return this.mobile;
    }
    
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getZipcode() {
        return this.zipcode;
    }
    
    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public Set getServices() {
        return this.services;
    }
    
    public void setServices(Set services) {
        this.services = services;
    }
   








}